﻿<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of sampleclass
 *
 * @author Дмитрий
 */
class sample extends widget {
    public $isWidget = true;
    public $header = "variables";

    public function widget_print(){
        echo "GET's:\n<pre>";
        print_r($_GET);
        echo "</pre>\nPOST's\n<pre>";
        print_r($_POST);
        echo "</pre>\nSESSION's\n<pre>";
        print_r($_SESSION);
        echo "</pre>\nCOOKIE's\n<pre>";
        print_r($_COOKIE);
        echo "</pre>\n";
    }
}
?>
